#ifndef _CPHYSICALSYSTEM_H_
#define _CPHYSICALSYSTEM_H_

#include "Object.h"
#include <cmath>
#include <algorithm>
#include <limits>
class CPhysicalSystem
{
public:
	CPhysicalSystem();
	void TwoObject(CObject* obj1, CObject* obj2, float gameTime, CInput* input); // 2object ko interest
	void TwoObject2(CObject* obj1, CObject* obj2, float gameTime, CInput* input);
	void HandleCollision(CObject* obj1, CObject* obj2, float gameTime, CInput* input);
	bool AABBCheck(RECT rect1, RECT rect2);
	RECT GetSweptBroadphaseBox(CObject* obj);
	float SweptAABB(CObject *obj1, CObject *obj2);
	void MoveAABB(CObject *obj1, CObject *obj2, float gameTime, CInput* input);
};

#endif